//
//  LevelCompleteLayer.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 17/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@protocol LevelCompleteLayerDelegate;

@interface LevelCompleteLayer : CCLayer 
{
    id delegate;
}
@property (nonatomic, retain) id<LevelCompleteLayerDelegate> delegate;

-(void) onMenuItemClicked:(CCMenuItem *)menuItem;

typedef enum
{
    kLEVEL_COMPLETE_TAG_CONTINUE = 0,
    kLEVEL_COMPLETE_TAG_RETRY = 1,
    kLEVEL_COMPLETE_TAG_EXIT = 2
} ELevelCompleteTag;

@end

@protocol LevelCompleteLayerDelegate
-(void) onContinueItemClicked;
-(void) onRetryItemClicked;
-(void) onExitItemClicked;

@end
